package flex.cc.order.manage.service;

import java.util.Map;

/**
 * 服务单管理
 */
public interface OrderManageService {

    /**
     * @description 派单
     * @param dataId 服务单id
     * @return
     * @author wkangle
     * @time 2021/09/08 0008 15:59
     * @exception/throws
    */
    Map<String, Object> allotRescue(String dataId, String allot_rescue_url, String servicerId, String publicKey, boolean b);

    /**
     * @description 改派
     * @param dataId 服务单id
     * @param serverId 改派服务商id
     * @param oldServicerId 原服务商id
     * @return
     * @author wkangle
     * @time 2021/09/08 0008 16:12
     * @exception/throws
    */
    Map<String, Object> changeAllotRescue(String dataId, String serverId, String oldServicerId);

    /**
	*
	* @author WANGCONG
	* 2021年10月21日下午5:25:32
     * @throws Exception 
	* @desc 拦截取消Version-2.0
	*/
	Map<String, Object> cancelRescue(String dataId, String cancelReason, String servicerId, String cancelType, String serviceAmount, String cancelCode, String totalDistance, String usedDistance) throws Exception;
}

